package com.letao.basedao;

import java.io.Serializable;
import java.util.List;
/**
 * Description:
 * <br/>Date: 
 * @author  everyone
 * @version 1.0
 */
public interface BaseDaoInterface<T> {
		T get(Class<T> entittyClass,Serializable id);
		void save(T entity);
		void update(T entity);
		void delete(T entity);
		void delete(Class<T> entityClass,Serializable id);
		List<T> findAll(Class<T> entityClass);
}
